Skip to content

Conversation

@thyttan
Copy link
Collaborator

@thyttan thyttan commented Dec 9, 2025

Initial version of an app proposed at https://github.com/orgs/espruino/discussions/6957#discussioncomment-14091812

  • An app that is just a single clock info field, full screen.
  • I use a clock without clock infos, but having them accessible by a swipe on quicklaunch would be neat.

Try it out at https://thyttan.github.io/BangleApps/?id=bigclkinfo

@RKBoss6
Copy link
Contributor

RKBoss6 commented Dec 10, 2025

Tried it out, there are a couple of bugs:
download

  • Only clears half the text, leading to what you see above - The clockInfo dimensions might need to be tweaked
  • You can't see it in the picture, but sometimes the widget bar will appear, and only when I switch a clockInfo does it clear.

Other than that, I would love to see where this is headed!

@thyttan
Copy link
Collaborator Author

thyttan commented Dec 10, 2025

  • fix icon on watch - black on black with darl theme.

@thyttan
Copy link
Collaborator Author

thyttan commented Dec 10, 2025

  • Only clears half the text, leading to what you see above - The clockInfo dimensions might need to be tweaked

I can't seem to reproduce this. Can you post a repro?

  • You can't see it in the picture, but sometimes the widget bar will appear, and only when I switch a clockInfo does it clear.

The app doesn't load widgets so not sure why that is happening for you. Was thinking maybe fastload utils? But I don't think that should be the cause in this case...

@RKBoss6
Copy link
Contributor

RKBoss6 commented Dec 10, 2025

I don't have widget utils or fastload utils installed... I think when a widget updates for me it triggers a redraw of the whole bar. I that normal behaviour? Otherwise it might just be a problem on my end. That could also be what's causing the text to not be cleared. If it's shifting due to the widget bar, it could cause issues, right?

@thyttan
Copy link
Collaborator Author

thyttan commented Dec 10, 2025

The apps are responsible for loading in widgets on launch then most is left up to the widgets themselves (barring widget_utils stuff).

Come to think of it, do you think it's a consequence of using the loading animation you're working on?

@RKBoss6
Copy link
Contributor

RKBoss6 commented Dec 11, 2025

I tried removingloadanim, and it didn't affect anything. I think the widgets are being drawn when a widget updates (eg. bluetooth disconnects), and the clearing issue remains... Can you share a screenshot of what the app looks like on your side?

@thyttan
Copy link
Collaborator Author

thyttan commented Dec 11, 2025

dump.png

d2.png

bigclkinfo doesn't load widgets. In the normal case when you launch it everything else is cleared and the watch is reset before the app is loaded. So no widgets will be present.

Is there a clock info that displays widgets? If you have such a clock info maybe that would be the culprit.

But other than that I read you have some memory leaking currently. I suspect when you work that out bigclkinfo will behave better.

@RKBoss6
Copy link
Contributor

RKBoss6 commented Dec 12, 2025

Hmm, the leak seems to have been fixed now, and the problems still persist. Just to make sure, when you switch lists and items, no clearing issue happens? Also try disconnecting bluetooth or updating/redrawing another widget to see if that's shown. @gfwilliams or @bobrippling would you mind testing this out as well to see if it's an issue with my watch, or a global issue?

@thyttan
Copy link
Collaborator Author

thyttan commented Dec 12, 2025

Also try disconnecting bluetooth or updating/redrawing another widget to see if that's shown.

bigclkinfo doesn't (shouldn't) have any widgets present. I.e. there's NO logic from widgets loaded by the app and running when bigclkinfo is started. This is for the normal case even with fastload utils.

Could it be that you have made customizations to either loading bahaviour or widgets behaviour with either your own code or some app installed from the app loader? I recommend you make a backup of your watch and then reinstall all apps (using the official app loader) and see if the issue persists for you.

@thyttan
Copy link
Collaborator Author

thyttan commented Dec 12, 2025

Just to make sure, when you switch lists and items, no clearing issue happens?

Not like the one you described.

I have noticed there is some problem with how I try to set the initial clock info and the first touch interactions. But draws to screen clears previous info just fine.

@gfwilliams
Copy link
Member

bigclkinfo doesn't (shouldn't) have any widgets present

If it fast loads from the launcher, then the launcher may have loaded widgets already? It shouldn't though since your code doesn't mention loadWidgets/drawWidgets anywhere which I think the fast loading checks for.

Just looking at this, it'd be really cool if it used the clockinfo drawBorderedImage (https://github.com/espruino/BangleApps/blob/master/apps/clock_info/lib.js#L448) on top of a custom background: http://localhost/apps/?id=clockbg - Quite simple but it'd really brighten it up.

You could also add the 'clockinfo clock' that's in analogquadclk so you can be sure there's always the ability to show time: https://github.com/espruino/BangleApps/blob/master/apps/analogquadclk/app.js#L190-L212

I'd also use Bangle.setUI("clock") rather than setWatch/.CLOCK=1 you have right now. It was abstracted so that other apps could change the behaviour of the button if they needed to.

@bobrippling
Copy link
Collaborator

bobrippling commented Dec 12, 2025

Hmm, the leak seems to have been fixed now, and the problems still persist. Just to make sure, when you switch lists and items, no clearing issue happens? Also try disconnecting bluetooth or updating/redrawing another widget to see if that's shown. @gfwilliams or @bobrippling would you mind testing this out as well to see if it's an issue with my watch, or a global issue?

Sure - no problems here either:

image image

Perhaps try running the app from RAM, or give us a list of the boot code you have?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants